import { Metadata } from 'next'; import ApprovalManager from '@/components/knox/approval/ApprovalManager'; import { findUserByEmail } from '@/lib/users/service'; import { getServerSession } from 'next-auth/next'; export const metadata: Metadata = { title: 'Knox 결재 시스템 | Admin', description: 'Knox API를 사용한 결재 시스템', }; export default async function ApprovalTestPage() { const session = await getServerSession(); const currentUser = await findUserByEmail(session?.user?.email ?? ''); return (
{/* 페이지 헤더 */}

Knox 결재 시스템

Knox API를 사용한 결재 시스템 컴포넌트입니다.

{/* 결재 관리자 컴포넌트 */}
); }